package hr.chus.alfresco.struts2.webscript;

import javax.servlet.http.HttpServletRequestWrapper;

import org.springframework.extensions.webscripts.servlet.WebScriptServletRequest;

/**
 * 
 * @author Jan Čustović (jan.custovic@gmail.com)
 *
 */
public class WebScriptRequestWrapper extends HttpServletRequestWrapper {
    
    private WebScriptServletRequest wsRequest;

    public WebScriptRequestWrapper(WebScriptServletRequest request) {
        super(request.getHttpServletRequest());
        this.wsRequest = request;
    }

    // Getters & setters
    
    public WebScriptServletRequest getWsRequest() {
        return wsRequest;
    }
    
}
